<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<!-- Viewport metatags -->
<meta name="HandheldFriendly" content="true" />
<meta name="MobileOptimized" content="320" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />

<!-- iOS webapp metatags -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />

<!-- CSS Reset -->
<link rel="stylesheet" type="text/css" href="<?php echo $this->themeUrl?>/files/theme/css/reset.css" media="screen" />
<!--  Fluid Grid System -->
<link rel="stylesheet" type="text/css" href="<?php echo $this->themeUrl?>/files/theme/css/fluid.css" media="screen" />
<!-- Theme Stylesheet -->
<link rel="stylesheet" type="text/css" href="<?php echo $this->themeUrl?>/files/theme/css/dandelion.theme.css" media="screen" />
<!--  Main Stylesheet -->
<link rel="stylesheet" type="text/css" href="<?php echo $this->themeUrl?>/files/theme/css/dandelion.css" media="screen" />
<!-- Demo Stylesheet -->
<link rel="stylesheet" type="text/css" href="<?php echo $this->themeUrl?>/files/theme/css/demo.css" media="screen" />

<!-- jQuery JavaScript File -->

<!-- jQuery-UI JavaScript Files -->

<link rel="stylesheet" type="text/css" href="<?php echo $this->themeUrl?>/files/theme/jui/css/jquery.ui.all.css" media="screen" />



<link rel="stylesheet" href="<?php echo $this->themeUrl?>/files/theme/plugins/tipsy/tipsy.css" />



<link rel="stylesheet" type="text/css" href="<?php echo $this->themeUrl?>/files/style.css" media="screen" />

<title><?php echo $this->pageTitle?></title>
<script type="text/javascript" src="<?php echo $this->themeUrl?>/files/theme/jui/js/jquery.ui.timepicker.min.js"></script>
<script type="text/javascript" src="<?php echo $this->themeUrl?>/files/theme/jui/js/jquery.ui.touch-punch.min.js"></script>
<script type="text/javascript" src="<?php echo $this->themeUrl?>/files/theme/jui/js/jquery.ui.spinner.min.js"></script>

<script type="text/javascript" src="<?php echo $this->themeUrl?>/files/theme/plugins/chosen/chosen.jquery.js"></script>
<link rel="stylesheet" href="<?php echo $this->themeUrl?>/files/theme/plugins/chosen/chosen.css" media="screen" />

<!-- Plugin Files -->

<!-- FileInput Plugin -->
<script type="text/javascript" src="<?php echo $this->themeUrl?>/files/theme/js/jquery.fileinput.js"></script>
<!-- Placeholder Plugin -->
<script type="text/javascript" src="<?php echo $this->themeUrl?>/files/theme/js/jquery.placeholder.js"></script>
<!-- Mousewheel Plugin -->
<script type="text/javascript" src="<?php echo $this->themeUrl?>/files/theme/js/jquery.mousewheel.min.js"></script>
<!-- Scrollbar Plugin -->
<?php /*
<script type="text/javascript" src="<?php echo $this->themeUrl?>/files/theme/js/jquery.tinyscrollbar.min.js"></script>
*/
?>
<!-- Tooltips Plugin -->
<script type="text/javascript" src="<?php echo $this->themeUrl?>/files/theme/plugins/tipsy/jquery.tipsy-min.js"></script>
<?php /*
<!-- Load Google Chart Plugin -->
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
    // Load the Visualization API and the piechart package.
    google.load('visualization', '1.0', {'packages':['corechart']});
</script>

<!-- Debounced resize script for preventing to many window.resize events
      Recommended for Google Charts to perform optimally when resizing -->
<script type="text/javascript" src="<?php echo $this->themeUrl?>/files/theme/js/jquery.debouncedresize.js"></script>

<!-- Demo JavaScript Files -->
<script type="text/javascript" src="<?php echo $this->themeUrl?>/files/theme/js/demo/demo.charts.js"></script>
*/?>
<!-- Core JavaScript Files -->
<script type="text/javascript" src="<?php echo $this->themeUrl?>/files/theme/js/core/dandelion.core.js"></script> 
<script type="text/javascript" src="<?php echo $this->baseUrl?>/files/js/fn.js"></script> 
<script type="text/javascript" src="<?php echo $this->themeUrl?>/files/js/app.js"></script> 


    </head>

<body>
    <div id="ajax-loading">
        <img src="/files/img/loader_2.gif" /> Loading ...
    </div>
    <?php /*
    <!-- Dandelion Customizer (remove if not needed) -->
    <div id="da-customizer">
        <div id="da-customizer-content">
            <ul>
                <li>
                    <span class="da-customizer-title">Background Pattern</span>
                    <span id="da-customizer-body-bg"></span>
                </li>
                <li>
                    <span>Header Pattern</span>
                    <span id="da-customizer-header-bg"></span>
                </li>
                <li>
                    <span>
                        Layout
                        <span title="This functionality can only provide you the CSS for background and header patterns. Instructions to switch between fixed or fluid layout can be found in the documentation." class="da-tooltip-w da-customizer-tooltip">
                            [?]
                        </span>
                    </span>
                    <ul id="da-customizer-layouts" class="clearfix">
                        <li>
                            <input type="radio" id="da-customizer-fluid" name="da-layout" checked="checked" />
                            <label for="da-customizer-fluid">Fluid</label>
                        </li>
                        <li>
                            <input type="radio" id="da-customizer-fixed" name="da-layout" />
                            <label for="da-customizer-fixed">Fixed</label>
                        </li>
                    </ul>
                </li>
            </ul>
            <div id="da-customizer-button">
                <button class="da-button red">Get CSS</button>
            </div>
        </div>
        <span id="da-customizer-pulldown"></span>
    </div>
    */?>
    <!-- Main Wrapper. Set this to 'fixed' for fixed layout and 'fluid' for fluid layout' -->
    <div id="da-wrapper" class="fluid">
    
        <!-- Header -->
        <div id="da-header">
        
            <div id="da-header-top">
                <!-- Container -->
                <div class="da-container clearfix">
                    &nbsp;
                    <!-- Logo Container. All images put here will be vertically centere -->
                    <div id="da-logo-wrap">
                        <div id="da-logo">
                            <div id="da-logo-img">
                                <a href="<?php echo $this->createUrl('/admin')?>">
                                    <span><?php echo $this->siteName?> - Admin</span>
                                </a>
                            </div>

                        </div>
                    </div>
                    
                    <!-- Header Toolbar Menu -->
                    <?php $this->renderPartial('//common/toolbar');?>
                                    
                </div>
            </div>
            
            <div id="da-header-bottom">
                <!-- Container -->
                <div class="da-container clearfix">
                
                    <div id="da-search">
                        <form method="get" action="<?php echo $this->createUrl('/admin/post')?>">
                            <input type="text" name="Post[title]" value="<?php if(isset($_GET['Post']['title'])) echo $_GET['Post']['title']?>" placeholder="Enter post name ..." />
                        </form>
                    </div>
                    
                    <!-- Breadcrumbs -->
                    
                    
                    <div id="da-breadcrumb">
                        <?php $this->widget('admin.components.widgets.Breadcrumbs', array(
                            'links'=>$this->breadcrumbs,
                        )); ?>
                    </div>
                    
                </div>
            </div>
        </div>